package com.module.framework.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.module.framework.domain.HisLend;
import com.module.framework.domain.NowLend;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HisLendMapper extends BaseMapper<HisLend> {

    List<HisLend> selectByIdList(Long id, Integer pageNum, Integer pageSize);

    List<HisLend> selectAllList(Integer pageNum, Integer pageSize,  @Param("name") String name, Integer cateId, String author, String userName);

    HisLend selectByIdVO(Integer id);
}
